/**
 * Created by JetBrains WebStorm.
 * User: Administrator
 * Date: 13-3-4
 * Time: 下午9:53
 * To change this template use File | Settings | File Templates.
 */
function getHTTPObject(){
    if(typeof XMLHttpRequest == 'undefined'){
        XMLHttpRequest = function(){
            try{ return new ActiveXObject('Msxml2.XMLHTTP.6.0');}
            catch(e){}
            try{ return new ActiveXObject('Msxml2.XMLHTTP.3.0');}
            catch(e){}
            try{ return new ActiveXObject('Msxml2.XMLHTTP');}
            catch(e){}
            return false;
        };
    }
    return new XMLHttpRequest();
}